﻿@namespace AntDesign
@inherits AntDomComponentBase
@if (_hasAdd)
{
    <Dialog @ref="_dialog" Config="@BuildDialogOptions()"
            Visible="@Visible" Style="@Style">
        <CascadingValue Value=@(".ant-modal-wrap") Name="PopupContainerSelector">
            <CascadingValue Value="true" Name="InModal">
                <CascadingValue Value="@_dialog.IsShow()" Name="ModalCompleteShow">
                    @ChildContent
                </CascadingValue>
            </CascadingValue>
        </CascadingValue>
    </Dialog>
}
